//
//  ViewController.m
//  QKGroupListExample
//
//  Created by 丁乾坤 on 2016/12/7.
//  Copyright © 2016年 丁乾坤. All rights reserved.
//

#import "ViewController.h"
#import "QKGroupListController.h"
@interface ViewController ()

@end

@implementation ViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    UIButton *button = [UIButton buttonWithType:UIButtonTypeSystem];
    button.frame = CGRectMake(100, 100, 150, 30);
    [button setTitle:@"仿QQ好友列表" forState:UIControlStateNormal];
    [button addTarget:self action:@selector(click) forControlEvents:UIControlEventTouchUpInside];
    [self.view addSubview:button];
}


- (void)click{
    QKGroupListController *groupListVC = [QKGroupListController new];
    [self.navigationController pushViewController:groupListVC animated:YES];
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}


@end
